package com.gzbugu.bugusys.service;

import java.io.File;

import com.gzbugu.bugusys.util.PageBean;

public interface ICoCertificateService {
	public static final String CO_CERTIFICATE_NAME = "coCertificateName";
	public static final String CO_CERTIFICATE_ISSUE_UNIT = "coCertificateIssueUnit";
	public static final String CO_CERTIFICATE_URL = "coCertificateUrl";

	/**
	 * 分页查询
	 * 
	 * @param currentPage
	 *            当前第几页
	 * @param pageSize
	 *            每页大小
	 * @return 封闭了分页信息(包括记录集list)的Bean
	 */
	public PageBean queryForPage(int pageSize, int currentPage);

	public PageBean queryForPageHQL(int pageSize, int currentPage, short coId);

	public abstract File saveUploadPicture(String pictureFileName, File picture);
}
